POV-Ray : Newsgroups : povray.general : Warning: No pigment type given. : Warning: No pigment type given. Server Time
5 Aug 2024 00:18:49 EDT (-0400)
  Warning: No pigment type given.  
From: Greg M  Johnson
Date: 9 Jan 2003 22:44:49
Message: <3e1e41b1$1@news.povray.org>
I found some code which gives an annoying (and false) warning about lack of
pigment.  It happened when I was unioning a whole bunch of blobs together.


//// here it is //
union{
        #declare toothblob=blob{threshold 0.7 cylinder{0,y,1,1 pigment{rgb
1}} }

        object{toothblob translate <0,1,0> }
        object{toothblob translate <0,2,0> }
        object{toothblob translate <0,3,0> }
        object{toothblob translate <0,4,0> }

 // pigment{rgbft 1}   //but this line uncommented out fixes it??
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.